{% extends "AcmeDemoBundle::layoutMyMemory.html.twig.twig" %}

{% block title "Login" %}

{% block content %}
    <div style="; padding-left: 40%; padding-top: 20%">
        <form action="{{ path('_login') }}" method="POST" id="frmLogin" novalidate="novalidate">

            {% if error_message is defined %}
                <p style="color: red">{{ error_message }}</p>
            {% endif %}

            <table>
                <tr>
                    <td>{{ form_label(form.user_name) }}</td>
                    <td>{{ form_widget(form.user_name) }}</td>
                    <td style="color: red">{{ form_errors(form.user_name) }}</td>
                </tr>
                <tr>
                    <td>{{ form_label(form.password) }}</td>
                    <td>{{ form_widget(form.password) }}</td>
                    <td style="color: red">{{ form_errors(form.password) }}</td>

                </tr>
                <tr>
                    <td colspan="2" style="text-align: right;">{{ form_row(form.submit) }}</td>
                </tr>
            </table>
        </form>
     </div>
{% endblock %}
